import React, { useState } from 'react';

import { Button } from '@/components/ui/button';

export const Demo = React.memo(() => {
    const [count, setCount] = useState(0);

    return (
        <Button className="text-xl" onClick={() => setCount(count + 1)}>
            Button
            {count}
        </Button>
    );
});
